package com.cool.cloud.service.impl;

import com.cool.cloud.entity.SizeType;
import com.cool.cloud.service.SizeTypeService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("sizeTypeService")
public class SizeTypeServiceImpl extends BaseService implements SizeTypeService {
    @Override
    public int queryByType(Integer type) {
        return sizeTypeMapper.queryByType(type);
    }

    @Override
    public List<SizeType> queryAll() {
        return sizeTypeMapper.queryAll();
    }


    @Override
    public int update(SizeType sizeType) {
        return sizeTypeMapper.update(sizeType);
    }
}
